Xceed DataGrid for WPF v7.3 Documentation
Xceed.Wpf.DataGrid Assembly / Xceed.Wpf.DataGrid Namespace / ContentElementCollection<T> Class
Members


In This Topic
    ContentElementCollection<T> Class
    In This Topic
    Represents a collection of content elements.
    Syntax
    'Declaration
     
    <DefaultMemberAttribute("Item")>
    <DebuggerTypeProxyAttribute(System.Collections.Generic.Mscorlib_CollectionDebugView`1)>
    <DebuggerDisplayAttribute("Count = {Count}")>
    Public Class ContentElementCollection(Of T As ContentElement) 
       Inherits System.Collections.ObjectModel.Collection(Of T)
    'Usage
     
    Dim instance As ContentElementCollection(Of T)
    [DefaultMember("Item")]
    [DebuggerTypeProxy(System.Collections.Generic.Mscorlib_CollectionDebugView`1)]
    [DebuggerDisplay("Count = {Count}")]
    public class ContentElementCollection<T> : System.Collections.ObjectModel.Collection<T> 
    where T: ContentElement
    Type Parameters
    T
    Remarks
    The elements added to the collection must be, or derive from, ContentElement.
    Inheritance Hierarchy
    Public Properties
    Protected Properties
     NameDescription
    Protected Property (Inherited from System.Collections.ObjectModel.Collection<T>)
    Top
    Public Methods
    Protected Methods
     NameDescription
    Protected MethodOverridden. Clears the items from the collection.  
    Protected MethodOverridden. Inserts an item in the collection.  
    Protected MethodMoves an item in the collection.  
    Protected MethodRaises the CollectionChanged event using the specified NotifyCollectionChangedEventArgs.  
    Protected MethodInvoked after an item is added.  
    Protected MethodInvoked before an item is added.  
    Protected MethodInvoked after an item is removed.  
    Protected MethodInvoked before an item is removed.  
    Protected MethodRaises the PropertyChanged event using the specified PropertyChangedEventArgs.  
    Protected MethodOverridden. Removes an item from the collection.  
    Protected MethodOverridden.   
    Top
    Public Events
     NameDescription
    Public EventRaised when a change occurs in the collection.  
    Public EventRaised when the value of a property is changed.  
    Top
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also